Post

Replies

Boosts

Views

Activity

Can't change List background color in iOS 16
I can't seem to find a way to change List's background color. Modifier .background() has no effect on List background color. Putting List in a ZStack & applying .background modifier to it also has no effect I know that starting with iOS 16 List is backed by UICollectionView so old tricks with .appearance() does not work anymore. Using ZStack with .plain list style also has no effect. Intospecting view hierarchy kinda works but List resets its bg color on update List is such a fundamental component and having no ability to change its background color is very limiting
4
5
3.8k
Jun ’22